<?php

// template-horizontal-list.php
//
// VARIABLES
// @param object $post            REQUIRED Object containing the post
// @param string $post->title     REQUIRED The title of the post page
// @param string $post->date      REQUIRED The listed date or date range
// @param string $post->url       REQUIRED A link to where this post resides in full
// @param string $post->excerpt   REQUIRED The teaser or intro text for the post
// @param string $post->thumb     OPTIONAL The URL to the thumb image for this post
// @param string $post->link_text OPTIONAL The text used for the link button

?>
<div class="row">
  <article class="entry">
    <div class="three columns">

      <a href="<?= url( $post->url ) ?>">
        <img src="<?= $post->thumb ?>">
      </a>

    </div>
    <div class="seven columns">

      <a href="<?= url($post->url) ?>">
        <h2><?= $post->title ?></h2>
      </a>
      <p><?= html( $post->excerpt ) ?></p>
      <p><time><?= NRHCdate($post->date) ?></time></p>

    </div>
    <div class="two columns">

      <a href="<?= url( $post->url) ?>" class="button"><?= $post->link_text ?></a>

    </div>
  </article>
</div>

<hr>
